{$CLEO .cs}
{$USE cleo+}
0000:


0362: remove_actor $PLAYER_ACTOR from_car_and_place_at -896.4639 -6949.2178 12.2168
model.Load(#AK47)
model.Load(#MALE01)
load_requested_models 



      0AD1: show_formatted_text_highpriority "Created script %d" time 1000 0@ 
 
    10@=0
    1@ = actor.Create(4,#MALE01 , -901.0458, -6967.5293, 7.8359)
        wait 1000
      while true
      wait 0
      
       0AD1: show_formatted_text_highpriority "Goods %d Scripted %d" time 1000 10@ 0@
            if cheat "fail"
            then
                  break 
            end
            if  and 
             10@<=0
            0104:   actor $PLAYER_ACTOR near_actor 1@ radius 2.0 2.0 2.0 sphere 1

            then
               // 0AC7: 10@ = var 11@ pointer
                0AC6: 10@ = label @SUB_SCRIPTED pointer
                018C: play_sound 1052 at 0.0 0.0 0.0
                  stream_custom_script_from_label @SUB_SCRIPTED 0@
                  get_last_created_custom_script 0@
                  
              //  terminate_all_custom_scripts_with_this_name 'aaaaaaa'

                //0AC6: 10@ = label @SUB_SCRIPTED pointer
                

            end
      end 
      
      actor.RemoveReferences(1@)
      show_styled_text "~r~You suck!" 2000 5 
0A93: terminate_this_custom_script

:SUB_SCRIPTED

10@=1
 wait 3000
show_text_box "Press X to jump" 
10@=0 
 wait 3000
show_text_box "When your moving and enemies will kill you" 
 wait 3000
show_text_box "Try stay away from zombies" 

 terminate_this_custom_script